<{include file="public/header.html"}>


<p id="page-intro">Free Blog</p>
<!--如果想要这个右边头部导航菜单打开注释即可
<{include file="public/right_header_menu.html"}>
-->
<div class="clear"></div> <!-- End .clear -->

<div class="content-box"><!-- Start Content Box -->
    <div class="content-box-header">

        <h3>添加用户组</h3>

        <ul class="content-box-tabs">
            <li><a href="#tab1" class="default-tab">添加用户组</a></li>
            <!-- href must be unique and match the id of target div -->

        </ul>

        <div class="clear"></div>

    </div> <!-- End .content-box-header -->

    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
            <!-- This is the target div. id must match the href of this div's tab -->
            <div class="notification attention png_bg">
                <a href="#" class="close"><img src="<{$res}>/images/icons/cross_grey_small.png" title="关闭友情提醒"
                                               alt="关闭"/></a>
                <div>
                    友情提醒：带*号的都为必填项
                </div>
            </div>
            <form action="<{$url}>/exe_update" method="post">
                <table>
                    <tbody>
                    <tr>
                        <td><input type="hidden" value="<{$gid}>" name="gid"></td>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>用户组名<font color="red">*</font></td>
                        <{section name="ls" loop=$arr}>
                        <td><input type="text" name="group_name" value="<{$arr[ls].group_name}>">(不能以特殊符号开头)</td>
                    </tr>
                    <tr>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>用户组描述<font color="red">*</font></td>
                        <td><textarea name="group_description"><{$arr[ls].group_description}></textarea></td>

                    </tr>
                    <tr>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>权限设置</td>
                        <td>
                            <{if $arr[ls].group_muser==1}>
                            <input type="checkbox" name="group_muser" value="1" checked>用户管理
                            <{else}>
                            <input type="checkbox" name="group_muser" value="1">用户管理
                            <{/if}>
                            <{if $arr[ls].group_mweb==1}>
                            <input type="checkbox" name="group_mweb" value="1" checked>网站编辑
                            <{else}>
                            <input type="checkbox" name="group_mweb" value="1">网站编辑
                            <{/if}>
                            <{if $arr[ls].group_marticle==1}>
                            <input type="checkbox" name="group_marticle" value="1" checked>文章管理
                            <{else}>
                            <input type="checkbox" name="group_marticle" value="1">文章管理
                            <{/if}>
                            <{if $arr[ls].group_mimage==1}>
                            <input type="checkbox" name="group_mimage" value="1" checked>图片管理
                            <{else}>
                            <input type="checkbox" name="group_mimage" value="1">图片管理
                            <{/if}>
                            <{if $arr[ls].group_sendarticle==1}>
                            <input type="checkbox" name="group_sendarticle" value="1" checked>发表文章
                            <{else}>
                            <input type="checkbox" name="group_sendarticle" value="1">发表文章
                            <{/if}>
                            <{if $arr[ls].group_sendcomment==1}>
                            <input type="checkbox" name="group_sendcomment" value="1" checked>发表评论
                            <{else}>
                            <input type="checkbox" name="group_sendcomment" value="1">发表评论
                            <{/if}>
                            <{if $arr[ls].group_sendmessage==1}>
                            <input type="checkbox" name="group_sendmessage" value="1" checked>发站内信
                            <{else}>
                            <input type="checkbox" name="group_sendmessage" value="1">发站内信
                            <{/if}>
                        </td>
                        <{/section}>
                    </tr>
                    <tr>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>&nbsp</td>
                        <td>
                            <div class="bulk-actions align-left">
                                <input class="button" type="submit" value="确定">
                                &nbsp&nbsp&nbsp
                                <input class="button" type="reset" value="重置"/>
                            </div>
                            <div class="clear"></div>
                        </td>
                    </tr>
                    </tbody>

                </table>
            </form>
        </div> <!-- End #tab1 -->


    </div> <!-- End .content-box-content -->
</div> <!-- End .content-box -->


<!--
    <{include file="public/content_box.html"}>
-->

<div class="clear"></div>

<!-- 自定义消息提示框，需要就打开
<{include file="public/notic_box.html"}>
 -->

<!--页面底部-->
<{include file="public/foot.html"}>











